<?php
//include/TinPHP/DB.php  50行，注意数据库表名服务器是否区分大小写
//TIN_DB_TYPE为设置默认数据库,目前支持mysql、oracle
define("TIN_DB_TYPE", "mysql");	//设置TinPHP/dao/数据库对象
define("TIN_DB_FIELD_UPPER", true);	//设置数据库获取的字段转换方式,true:大写/根据数据库默认命名，false:强制转小写

$GLOBALS['TIN_DB_CONN'] = array(
	"mysql"=>array(
		'dbtype' => 'mysql',			//数据库类型
		'dbhost' => '172.16.2.10',
		'dbuser' => 'nongyidai',
		'dbpass' => '123456',
/*        'dbhost' => 'localhost',
        'dbuser' => 'root',
        'dbpass' => '',*/
		'dbname' => 'nongyidai',	//数据库名称
		'tabprefix'=>'TB_',				//数据表前缀
		'dbcharset'=>'utf8'
	),
//    "oracle"=>array(
//        'dbtype' => 'oci8',
//        'dbhost' => '172.16.7.19',
//        'dbuser' => 'mall_t17',
//        'dbpass' => 'mall_t17',
//        'dbname' => 'ccundb',
//        'tabprefix'=>'T_',
//        'dbcharset'=>'utf8'
//     ),
);
?>
